import request from '@/utils/request'

const api_name = '/eduservice/teacherfront'
export default {
  //分页查询讲师
  getTeacherFrontList(page, limit) {
    return request({
      url: `${api_name}/getTeacherFrontList/${page}/${limit}`,
      method: 'get'
    })
  },
  //根据id获取
  getTeacherFrontInfo(id) {
    return request({
      url: `${api_name}/getTeacherFrontInfo/${id}`,
      method: 'get'
    })
  },
  getTeacherByUser(){
    return request({
      url: `${api_name}/getTeacherByUser`,
      method: 'get'
    })
  }
}
